<?php
/**
 * Created by PhpStorm.
 * User: chen
 * Date: 18-5-26
 * Time: 下午5:42
 */

namespace App\Model\Common;
use Illuminate\Database\Eloquent\Model;

class BasePaginateModel extends Model
{
    /**
     * 返回每一页的条数
     * @return mixed
     */
    public static function per_page(){
        return env('PAGE_LIMIT_ADMIN', 20);
    }
}